package com.hsy.linemoney.apiservice;

/**
 * 数据缓存类
 * Created by MartinKent on 2016/9/12.
 */
class DataHolder {
    public static CurrencyService.CurrencyListResult mCurrencyListResult;
    public static ServiceTypeService.ServiceTypeListResult mServiceTypeListResult;
    public static PaymentService.PaymentTypeListResult mPaymentTypeListResult;
    public static CountryService.CountryListResult mCountryListResult;
    public static BankService.BankListResult mBankListResult;
    public static RecurringService.RecurringTypeListResult mRecurringTypeListResult;
    public static AccountService.AccountListResult mAccountListResult;
    public static BidService.FromCurrencyToCurrencyOrderResult mFromCurrencyToCurrencyOrderResult;
    public static AccountService.CashableAccountsResult mCashableAccountsResult;
    public static AccountService.CashAndReportFilterResult mCashAndReportFilterResult;
    public static MyDealService.PartDealedOrderResult mPartDealedOrderResult;
    public static MyDealService.NewOrderResult mNewOrderResult;
    public static MyDealService.CompletedOrdersResult mCompletedOrdersResult;

    public static void clearData() {
        mCurrencyListResult = null;
        mServiceTypeListResult = null;
        mPaymentTypeListResult = null;
        mCountryListResult = null;
        mBankListResult = null;
        mRecurringTypeListResult = null;
        mFromCurrencyToCurrencyOrderResult = null;
        mCashableAccountsResult = null;
        mCashAndReportFilterResult = null;
        mPartDealedOrderResult = null;
        mNewOrderResult = null;
        mCompletedOrdersResult = null;
    }
}
